<?php
namespace app\admin\validate;

use think\Validate;
class Login extends Validate
{
    protected $rule = [
        'uname'  =>  'require',
        'pwd'    =>  'require',
    ];
    protected $message  =   [
        'uname.require' => '名称必须',
        'pwd.require'   => '密码必须',
    ];

}